<?php
	@include('include/common.inc.php');	
	$id = $_GET['id'];
	$tb = $_GET['tb'];
    mysql_query("update $TBL_HOUSE SET del=1 where id=$id");
	if($tb==1)
	{
		$url = "cz.php";
	}else if($tb==2){
		$url = "cs.php";
	}else{
		$url = "dr.php";
	}
	MyNotice("該房屋已经成功刪除", 2,$url);
	exit(0);
?>